package com.test.burnincash.aaahpoppomelo.dialog;

import android.content.Context;
import android.os.Bundle;
import android.view.View;

import androidx.annotation.NonNull;

import com.google.android.material.bottomsheet.BottomSheetDialog;
import com.test.burnincash.R;
import com.test.burnincash.aaahpoppomelo.bean.OrderItem_hpoppomelo;
import com.test.burnincash.aaahpoppomelo.bean.Order_hpoppomelo;

public class ShareOrderDialog_hpoppomelo extends BottomSheetDialog {

    private final Order_hpoppomelo order;

    public ShareOrderDialog_hpoppomelo(@NonNull Context context,Order_hpoppomelo order) {
        super(context, R.style.BottomSheetDialogStyle);
        this.order = order;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.dialog_share_order_hpoppomelo);
        init();
    }

    private void init(){

        //下载
        findViewById(R.id.dialog_share_order_layout_download).setOnClickListener(v -> {

        });

        //发送
        findViewById(R.id.dialog_share_order_layout_send).setOnClickListener(v -> {

        });

        //关闭
        findViewById(R.id.dialog_share_order__tv_cancel).setOnClickListener(v -> dismiss());

    }
}
